(function(clazz,id,callback){
	var tbar = [];
	tbar.push({
		 text:"添加",
		 dat :clazz,
		 pid :id,
		 dcallback:callback,
		 handler:function(){
			 _("entity.add.panel")(this.dat,this.pid,this.dcallback);
		 }
	});
	tbar.push({
		 text:"删除",
		 dat :clazz,
		 pid :id,
		 dcallback:callback,
		 handler:function(){
			 _("entity.delete.panel")(this.dat,this.pid,this.dcallback);
		 }
	});
	
	
	return tbar;
})